<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 310px;
            height: 438px;
            background-color: aqua;
            margin: 40px auto;
        }

        div img {
            transform-origin: bottom center;
            transition: transform 1s;
        }

        img:hover {
            transform: rotateX(75deg);
        }
    </style>
</head>

<body>
    <div><img src="./images/pk.png" alt=""></div>
</body>

</html>